﻿using GYCTOAManagementSystemNewApi.Model.Tool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace GYCTOAManagementSystemNewApi.Model
{
    /// <summary>
    /// 项目主体信息实体
    /// </summary>
    public class Project1 : Operate
    {
        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectNumber { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 项目类型，1代表施工生产，2代表产品生产，4代表产品研发，8代表技术服务
        /// </summary>
        public int ProjectType { get; set; }
        /// <summary>
        /// 项目负责人
        /// </summary>
        public string HeadUserId { get; set; }
        /// <summary>
        /// 备案部门
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 备案人/经营人员
        /// </summary>
        public int ApplyUserid { get; set; }
        /// <summary>
        /// 成员Id 非userId   保存为 1,2,3,4,5....
        /// </summary>
        public string MemberId { get; set; }
        /// <summary>
        /// 项目开始时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 项目预计完成时间
        /// </summary>
        public DateTime? FinishDate { get; set; }
        /// <summary>
        /// 项目实际完成时间
        /// </summary>
        public DateTime? InFaceFinishDate { get; set; }
        /// <summary>
        /// 项目概况
        /// </summary>
        public string Survey { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        #region 根据新需求新增字段
        /// <summary>
        /// 执行部门
        /// </summary>
        public int ImplementDepartment { get; set; }
        /// <summary>
        /// 经营开始时间
        /// </summary>
        public DateTime ManagementDate { get; set; }
        /// <summary>
        /// 经营协助人员
        /// </summary>
        public int ManagementHelpUserid { get; set; }
        /// <summary>
        /// 所属行业
        /// </summary>
        public string Industry { get; set; }
        /// <summary>
        /// 性能指标/甲方需求
        /// </summary>
        public string PerformanceIndex { get; set; }
        /// <summary>
        /// 进展情况/市场定位
        /// </summary>
        public string Progress { get; set; }
        /// <summary>
        /// 单位属性，可多选  保存为 1,2,3,4,5....
        /// </summary>
        public string UnitAttribute { get; set; }
        /// <summary>
        /// 预计合同额
        /// </summary> 
        public decimal EstimatedContractAmount { get; set; }
        /// <summary>
        /// 关联合同的标识
        /// </summary>
        public int ContractId { get; set; }
        /// <summary>
        /// 保证金
        /// </summary>
        public decimal Bond { get; set; }
        /// <summary>
        /// 坏账金额
        /// </summary>
        public decimal BadMoney { get; set; }
        /// <summary>
        /// 冲销税额
        /// </summary>
        public decimal WriteOffTax { get; set; }
        /// <summary>
        /// 结算金额
        /// </summary>
        public decimal SettleMoney { get; set; }
        #endregion

        #region 项目财务报表所需新增字段
        /// <summary>
        /// 开票已收款
        /// </summary>
        public decimal CollectionAmount { get; set; }
        /// <summary>
        /// 个人借款
        /// </summary>
        public decimal PersonLoan { get; set; }
        /// <summary>
        /// 采购未到票
        /// </summary>
        public decimal PurchaseCost { get; set; }
        /// <summary>
        /// 人工费
        /// </summary>
        public decimal LaborCost { get; set; }
        /// <summary>
        /// 材料费
        /// </summary>
        public decimal MaterialCost { get; set; }
        /// <summary>
        /// 机械使用费
        /// </summary>
        public decimal MachineryCost { get; set; }
        /// <summary>
        /// 其它直接费
        /// </summary>
        public decimal OtherDirectCost { get; set; }
        /// <summary>
        /// 分包成本
        /// </summary>
        public decimal SubcontractingCost { get; set; }
        /// <summary>
        /// 冲销后增值税费用
        /// </summary>
        public decimal WriteOffRate { get; set; }
        /// <summary>
        /// 管理人员费用
        /// </summary>
        public decimal ManagementPersonCost { get; set; }
        /// <summary>
        /// 福利费
        /// </summary>
        public decimal WelfareCost { get; set; }
        /// <summary>
        /// 固定资产使用费
        /// </summary>
        public decimal FixedAssetsCost { get; set; }
        /// <summary>
        /// 低值易耗品摊销
        /// </summary>
        public decimal LowValueCost { get; set; }
        /// <summary>
        /// 办公费
        /// </summary>
        public decimal OfficeCost { get; set; }
        /// <summary>
        /// 差旅费
        /// </summary>
        public decimal TravelCost { get; set; }
        /// <summary>
        /// 业务招待费
        /// </summary>
        public decimal BusinessCost { get; set; }
        /// <summary>
        /// 安全保护费
        /// </summary>
        public decimal SafetyCost { get; set; }
        /// <summary>
        /// 车辆使用费
        /// </summary>
        public decimal VehicleCost { get; set; }
        /// <summary>
        /// 其它间接费用
        /// </summary>
        public decimal OtherIndirectCost { get; set; }
        /// <summary>
        /// 经营费用
        /// </summary>
        public decimal OperatingCost { get; set; }
        #endregion

        #region 知识库文件权限
        /// <summary>
        /// 文件上传
        /// </summary>
        public string FileRightAdd { get; set; }
        /// <summary>
        /// 文件删除
        /// </summary>
        public string FileRightDel { get; set; }
        /// <summary>
        /// 文件修改
        /// </summary>
        public string FileRightUpdate { get; set; }
        /// <summary>
        /// 文件查看
        /// </summary>
        public string FileRightView { get; set; }
        /// <summary>
        /// 文件下载
        /// </summary>
        public string FileRightDown { get; set; }
        #endregion 
    }

}
